﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Integra.Master" AutoEventWireup="true" CodeBehind="AñadirPracticas.aspx.cs" Inherits="PresentacionWeb.AñadirPracticas" %>
<%@ Register src="control/ControlEmb/FileUpload.ascx" tagname="FileUpload" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            height: 106px;
            width: 181px;
        }
        .style6
        {
            height: 106px;
        }
        .style7
        {
            height: 34px;
        }
        .style8
        {}
        .style11
        {
            height: 34px;
            width: 181px;
        }
        .style12
        {
            width: 181px;
        }
        .style13
        {
            height: 34px;
            width: 592px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="height: 380px;" width="100%; background-color:White;text-align:Center;v-align:Middle;">
    <fieldset style="height: 380px;" width="100%;">
    <legend>Añadir&nbsp; práctica</legend>
        
        <table style="width: 100%; height: 346px;">
            <tr>
                <td class="style3">
                    Descripción:</td>
                <td class="style6" colspan="2">
                    <asp:TextBox ID="txtDescripcion" runat="server" Height="59px" 
                        TextMode="MultiLine" Width="829px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style11">
                    Documento</td>
                <td class="style13">
                    <asp:FileUpload ID="fileUpload" runat="server" />
                </td>
                <td class="style7">
                    <asp:Button ID="btnAñadirDocumento" runat="server" 
                        onclick="btnAñadirDocumento_Click" Text="Añadir" />
                </td>
            </tr>
            <tr>
                <td class="style12">
                    Documentos Añadidos:</td>
                <td class="style8" align="left" colspan="2">
                                   
                                    <asp:GridView ID="grdDocumentacionReq" runat="server" 
        AllowSorting="True" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#999999" BorderWidth="1px" 
            CellPadding="3" ForeColor="Black" GridLines="Vertical" AutoGenerateSelectButton="True">
                                        <Columns>
                                            <asp:BoundField DataField="NombreDoc" HeaderText="Nombre" />
                                            <asp:BoundField DataField="Descripcion" HeaderText="Descripción" />
                                            <asp:BoundField DataField="CODIGODOCUMENTACIONREQENTREGA" HeaderText="Código" />
                                        </Columns>
                                         <FooterStyle BackColor="#CCCCCC" />
        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Left" />
        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#808080" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#383838" />
                                    </asp:GridView>
                                </td>
            </tr>
            <tr>
                <td class="style12">
                    <asp:Button ID="btnVolver" runat="server" onclick="btnVolver_Click" 
                        Text="Volver" />
                </td>
                <td class="style8" align="left" colspan="2">
                                   
                                    &nbsp;</td>
            </tr>
        </table>
        
    </fieldset>
</div>
</asp:Content>
